# requests处理证书错误:verify参数能够忽略CA证书的认证
# 使用verify=False参数,此时requests模块发送请求将不做CA证书的验证：verify参数能够忽略CA证书的认证
import requests

# 忽略警告
import urllib3

urllib3.disable_warnings()

url = "https://sam.huat.edu.cn:8443/selfservice/"
response = requests.get(url, verify=False)

# print(response.content.decode('gbk'))
# print(response)
